package com.maxmlr.music.dao;

import com.maxmlr.music.model.Song;

import java.util.List;
import java.util.Map;


/**
 * 歌接口
 * @author maxiao
 *
 */
public interface SongMapper {
	
	List<Song> findSongBySingerId(Integer singer_id);

	Song findSongId(Integer song_id);
	
	void update(Song song);
	
	void insert(Song song);
	
	void delete(Integer song_id);

	List<Song> findSongNew(Integer page, Integer songmainnum);

	Integer findSongNumPage(Integer m_sign);

	List<Song> findSongMVHot(Integer page, Integer songmainnum);

	Song findSongMVByPage(Integer page, Integer i);

	List<Song> findSongBySort(Map<String, Object> params, Integer i, Integer sortnum);

	List<Song> findSpecialSong(Integer special_id);

	Integer findpageBySort(String nation, Integer m_sign);
}
